Skip to content

Conversation

workingjubilee
Copy link
Member

No description provided.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 25, 2025
@rust-log-analyzer

This comment has been minimized.

@compiler-errors
Copy link
Member

gamer

@jieyouxu
Copy link
Member

jieyouxu commented Jun 25, 2025

Could we add a one-liner in rustc-dev-guide about this for-test ABI string somewhere1? I'm sure it'll come in handy in the future :D

Footnotes

  1. Mostly so one might find out about its existence 🍇

@workingjubilee
Copy link
Member Author

of course!

@workingjubilee workingjubilee force-pushed the dont-validate-naughty-abis branch from 3b76349 to 253aeec Compare June 25, 2025 03:45
@@ -1,5 +1,6 @@
// FIXME(workingjubilee): add revisions and generalize to other platform-specific varargs ABIs,
// preferably after the only-arch directive is enhanced with an "or pattern" syntax
// NOTE: This deliberately tests an ABI that supports varargs, so no `extern "rust-invalid"`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative would be to, in fact, say "yes, extern "rust-invalid" can support varargs", but that seems silly.

@rustbot rustbot added the A-rustc-dev-guide Area: rustc-dev-guide label Jun 25, 2025
@rust-log-analyzer

This comment has been minimized.

@workingjubilee
Copy link
Member Author

huh.

@workingjubilee workingjubilee force-pushed the dont-validate-naughty-abis branch from 745849e to accc2f9 Compare June 25, 2025 06:46
@workingjubilee workingjubilee force-pushed the dont-validate-naughty-abis branch from accc2f9 to f356217 Compare June 25, 2025 07:54
@workingjubilee workingjubilee force-pushed the dont-validate-naughty-abis branch from f356217 to c24914e Compare June 25, 2025 08:20
@workingjubilee workingjubilee changed the title DIFFSTACKED Convert some ABI tests to use extern "rust-invalid" Convert some ABI tests to use extern "rust-invalid" Jun 25, 2025
@workingjubilee workingjubilee marked this pull request as ready for review June 25, 2025 08:37
@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 25, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

These commits modify compiler targets.
(See the Target Tier Policy.)

The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes.

cc @BoxyUwU, @jieyouxu, @Kobzol, @tshepang

@workingjubilee
Copy link
Member Author

ehehehe.

r? @jieyouxu since you asked for doc placement somewhere~

@rustbot rustbot assigned jieyouxu and unassigned petrochenkov Jun 25, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

jieyouxu is not on the review rotation at the moment.
They may take a while to respond.

Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jieyouxu
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 25, 2025

📌 Commit c24914e has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 25, 2025
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 25, 2025
…ty-abis, r=jieyouxu

Convert some ABI tests to use `extern "rust-invalid"`
bors added a commit that referenced this pull request Jun 25, 2025
Rollup of 7 pull requests

Successful merges:

 - #142146 (Withdraw the claim `extern "C-cmse-nonsecure-*"` always matches `extern "C"`)
 - #142200 (`tests/ui`: A New Order [8/N])
 - #142724 (Add runtime check to avoid overwrite arg in `Diag`)
 - #142809 (Add PrintTAFn flag for targeted type analysis printing)
 - #142976 (Check CoerceUnsized impl validity before coercing)
 - #142992 (Convert some ABI tests to use `extern "rust-invalid"`)
 - #143000 (Make `Sub`, `Mul`, `Div` and `Rem`  `const_traits`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 20e47aa into rust-lang:master Jun 26, 2025
10 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jun 26, 2025
rust-timer added a commit that referenced this pull request Jun 26, 2025
Rollup merge of #142992 - workingjubilee:dont-validate-naughty-abis, r=jieyouxu

Convert some ABI tests to use `extern "rust-invalid"`
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Jun 26, 2025
Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#142146 (Withdraw the claim `extern "C-cmse-nonsecure-*"` always matches `extern "C"`)
 - rust-lang/rust#142200 (`tests/ui`: A New Order [8/N])
 - rust-lang/rust#142724 (Add runtime check to avoid overwrite arg in `Diag`)
 - rust-lang/rust#142809 (Add PrintTAFn flag for targeted type analysis printing)
 - rust-lang/rust#142976 (Check CoerceUnsized impl validity before coercing)
 - rust-lang/rust#142992 (Convert some ABI tests to use `extern "rust-invalid"`)
 - rust-lang/rust#143000 (Make `Sub`, `Mul`, `Div` and `Rem`  `const_traits`)

r? `@ghost`
`@rustbot` modify labels: rollup
@workingjubilee workingjubilee deleted the dont-validate-naughty-abis branch July 1, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants